/* 全局样式配置 */
/*========
  如果需要替换，需要去指定文件单独处理的颜色
  1、任务模块中的当日任务， 水波纹canvas
  =========*/
:root {
  --basics-size: 12px;
  --theme: #2df2ff; // 主视觉配色
  --theme-02: #1f596e;
  --theme-05: rgba(45, 242, 255, 0.5); // #2DF2FF
  --add: #2ce898; // 新增
  --success: #2ce898; // 成功
  --success-05: rgba(44, 232, 152, 0.5); // #2DF2FF
  --info: #909399; // 灰色
  --info-05: rgba(144, 147, 153, 0.2); // #2DF2FF
  --warning: #f8a62d; // 警告
  --warning-05: rgba(248, 166, 45, 0.5); // 警告

  --danger: #c92525; // 删除
  --dangerv2: #f56c6c; // 删除
  --dangerv2-05: rgba(245, 108, 108, 0.5); // 删除

  --function: #2df2ff; // 功能色
  --main: #fff; // 字体主色
  --auxiliary: #5e9db4; // 字体辅助色
  --auxiliaryv2: #fff; // 字体辅助色

  --prohibit: rgba(255, 255, 255, 0.2); // 禁止选择

  --background-gradient: linear-gradient(
    180deg,
    #132339 0%,
    #147c9e 100%
  ); // 背景渐变色
  --background-gradientV2: linear-gradient(
    180deg,
    #0ea0bb 0%,
    var(--backgroundv2) 100%
  ); // 背景渐变色
  --background_mask: linear-gradient(
    180deg,
    rgba(14, 24, 49, 0.4) 0%,
    rgba(0, 3, 9, 0.5) 100%
  ); // 蒙版
  /* 辅助线条 */
  --border-auxiliary: #31546b;

  /* 页面颜色 */
  --background: #0e1525; // 页面黑色
  --background-05: rgba(14, 21, 37, 0.5); // 页面黑色

  --backgroundv2: #1c334a; // 页面第二层
  --backgroundv2-05: rgba(28, 51, 74, 0.5); // 页面第二层

  --backgroundv3: #305272; // 页面第三层
  --backgroundv3-05: rgba(48, 82, 114, 0.5); // 页面第三层

  --backgroundv4: #10263b; // 斑马纹备用色
  --backgroundv4-05: rgba(16, 38, 59, 0.5); // 斑马纹备用色

  --border: #365d84;
  --border-radius: 12px; // 圆角角度
  --box-shadow: 0 0 4px 2px transparent; // 投影

  /* 弹窗页面*/
  --dialog-background: #0d1a2a; // 弹窗背景色页面第一层
  --dialog-backgroundv2: #1c334a; // 弹窗背景色页面第二层
  --dialog-backgroundv3: #305272; // 弹窗背景色页面第三层
  --dialog-border: #365d84; // 边框样式
  --dialog-border-radius: 8px; // 圆角角度
  --dialog-box-shadow: 0 0 10px 4px transparent; // 投影

  /*input */
  --input-background: #1c334a;
  --input-border: #365d84;
  --input-button: #307492;
  --input-placeholder: rgba(139, 229, 252, 0.4);
  /*input 深色 */
  --input-background-darkColor: #1c334a;
  --input-border-darkColor: #365d84;
  --input-button-darkColor: #307492;
  --input-placeholder-darkColor: rgba(139, 229, 252, 0.4);

  /* ============= ============= ============= ============= ============= ============= =============*/
  --select-color: var(--theme);
  --main-select-color: var(--theme);
  --main-select-color-05: var(--theme-05);
  --tableBackgroundColor: var(--background);
  --main-color: var(--main);
  --auxiliary-color: var(--auxiliary);
  --dialog-background-darkColor: var(--dialog-background);
  /* 背景 */
  --background-main-color: var(--backgroundv2);
  --background-auxiliary-color: var(--backgroundv3);
  --item-background-main-color: var(--backgroundv2);
  --item-background-auxiliary-color: var(--backgroundv3);
  --item-background-auxiliary-color-05: var(--theme-05);
  /* 字体 */
  --fontSize-main-color: var(--main);
  --fontSize-auxiliary-color: var(--auxiliary);
  /* 边框 */
  --border-main-color: var(--theme);
  --border-auxiliary-color: transparent;
  /* 下面因为根据页面微调样式，命名方式 文件名或者功能名字-class名-用的位置-用状态 */
  --department-centerBox-background: #24354e;
  /* app */
  --app-background-color: var(--background);
  /* 表格按钮 */
  --iconBox-iconBox-background: var(--backgroundv3);
  /* 自定义表格 */
  --customTable-background-select: #3e536f;
  --customTable-border-select: #3e536f;
  /* 任务 */
  --button-background: #24354e;
}

@tableBackgroundColor: #0e1525; //表格背景色
@tableBackgroundColorDarkColor: #0d2035; //深色表格背景色
@input_lightColor: #686c79; // 输入框默认内容颜色
@input_darkColor: #979797; //输入框默认内容颜色

@background_color: #0d2035;
.backgroundColor {
  background: @background_color;
}

.clickBox {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: 0.5s;
  &:active {
    transition: 0s;
    opacity: 0.6;
  }
}

// 按钮状态
.el-button {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  img {
    margin-right: 6px;
    position: relative;
    top: 1px;
  }
  &:focus {
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
  }
  &:hover {
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
  }
}
.el-button:active {
  opacity: 0.8;
}
.el-button.is-loading:before {
  background-color: rgba(255, 255, 255, 0.2);
}
.button_default {
  background: linear-gradient(180deg, #154d5b 0%, #123742 53%, #1c818a 100%);
  border: 1px solid rgba(45, 242, 255, 0.6) !important;
  &:focus {
    background: linear-gradient(180deg, #1c818a 0%, #123742 53%, #1c818a 100%);
    box-shadow: 0px 0px 6px 0px #2df2ff;
    border: 1px solid rgba(45, 242, 255, 0.6);
  }
  &:hover {
    background: linear-gradient(180deg, #1c818a 0%, #123742 53%, #1c818a 100%);
    box-shadow: 0px 0px 6px 0px #2df2ff;
    border: 1px solid rgba(45, 242, 255, 0.6);
  }
}
.button_function {
  background: linear-gradient(180deg, #156275 0%, #0f5364 53%, #25bcc9 100%);
  border: 1px solid #2df2ff !important;
  &:focus {
    background: linear-gradient(180deg, #25bcc9 0%, #0f5364 53%, #25bcc9 100%);
    box-shadow: 0px 0px 6px 0px #2df2ff;
    border: 1px solid #2df2ff;
  }
  &:hover {
    background: linear-gradient(180deg, #25bcc9 0%, #0f5364 53%, #25bcc9 100%);
    box-shadow: 0px 0px 6px 0px #2df2ff;
    border: 1px solid #2df2ff;
  }
}
.button_addTo {
  background: linear-gradient(180deg, #155b4b 0%, #164644 53%, #25c99b 100%);
  border: 1px solid #2dffa5;
  &:focus {
    background: linear-gradient(180deg, #25c99b 0%, #164644 53%, #25c99b 100%);
    box-shadow: 0px 0px 6px 0px #2dffa5;
    border: 1px solid #2dffa5;
  }
  &:hover {
    background: linear-gradient(180deg, #25c99b 0%, #164644 53%, #25c99b 100%);
    box-shadow: 0px 0px 6px 0px #2dffa5;
    border: 1px solid #2dffa5;
  }
}
.button_delete {
  background: linear-gradient(180deg, #751515 0%, #641e0f 53%, #c92525 100%);
  border: 1px solid var(--dangerv2);
  &:focus {
    background: linear-gradient(180deg, #c92525 0%, #641e0f 53%, #c92525 100%);
    box-shadow: 0px 0px 6px 0px var(--dangerv2);
    border: 1px solid var(--dangerv2);
  }
  &:hover {
    background: linear-gradient(180deg, #c92525 0%, #641e0f 53%, #c92525 100%);
    box-shadow: 0px 0px 6px 0px var(--dangerv2);
    border: 1px solid var(--dangerv2);
  }
}
.button_talking {
  width: 80px;
  height: 28px;
  background: var(--theme-05);
  border: 1px solid var(--theme);
  box-shadow: 0 0 4px 0 var(--theme);
  border-radius: 16px;
  font-size: 12px;
  font-weight: bold;
  color: var(--main);
  margin: 0 auto;
}
/*=================== 自定义marker =========================*/
.el-markerImgBox {
  flex-shrink: 0;
  border-radius: 50%;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  background: var(--backgroundv3);
  border: 1px solid var(--theme);
  overflow: hidden;
  img {
    max-width: 100% !important;
  }
}
/*=================== 富文本 =========================*/
.ke-container {
  width: 100% !important;
  color: var(--main) !important;
  border-radius: 6px;
  box-shadow: 0 0 20px 0 #365d84;
  background: var(--backgroundv2) !important;
}
.ke-statusbar {
  background-color: #fff !important;
}
/*=================== 浅色(默认颜色) =========================*/
/* placeholder 颜色*/
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: var(--input-placeholder) !important;
}
input:-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--input-placeholder) !important;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--input-placeholder) !important;
}
input:-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: var(--input-placeholder) !important;
}
/*
      search 筛选框
      input 输入框
      select 下拉框
      datePicker_darkColor 日期选择
  */
.el-form-item__label {
  color: var(--main) !important;
}
.searchInput(@background, @borderColor, @inputButton) {
  width: 254px;
  line-height: 32px;
  background: @background;
  border-radius: 8px;
  padding: 4px;
  box-sizing: border-box;
  display: flex;
  border: 1px solid @borderColor;
  transition: 0.3s;
  position: relative;
  z-index: 1;
  &:focus {
    border-color: var(--theme);
  }
  &:hover {
    border-color: var(--theme);
  }
  .el-input .el-input__inner {
    background: @background;
    border-color: @background;
    padding: 0 26px 0 10px;
    font-size: var(--basics-size);
    color: var(--main);
    &:focus {
      border-color: @background;
    }
    &:hover {
      border-color: @background;
    }
  }
  .searchBox:active {
    opacity: 0.6;
  }
  .searchBox {
    width: 42px;
    height: 32px;
    background: @inputButton;
    border-radius: 8px;
    line-height: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    .svgBox {
      width: 18px;
      height: 18px;
      vertical-align: middle;
    }
  }
}
.search_lightColor {
  .searchInput(
      var(--input-background),
      var(--input-border),
      var(--input-button)
    );
}
.el-input__inner,
.el-textarea__inner,
.el-date-editor input {
  color: var(--main);
  background: var(--input-background);
  border-color: var(--input-border);
  &:hover {
    border-color: var(--theme);
  }
  &:focus {
    border-color: var(--theme);
  }
}
.el-picker-panel__body {
  .el-input__inner {
    color: var(--main);
    background: var(--input-background);
    border: 1px solid var(--input-border);
  }
}
/*表格默认设置*/
.el-table__empty-text {
  color: var(--auxiliary);
}
.el-table--border th.gutter:last-of-type {
  border: 0;
}
.el-table {
  background: transparent;
}
.el-table__header,
.el-table__body,
.el-table__footer {
  background: transparent;
}
.el-table th {
  font-size: 14px;
  font-weight: bold;
  color: var(--main) !important;
  background: transparent !important;
}
.el-table tr {
  color: var(--main) !important;
  background: transparent;
}
.el-table__body-wrapper .el-table__header,
.el-table__body,
.el-table__footer {
  border-spacing: 0px 8px;
}
.el-table th.is-leaf {
  border-bottom: 0px solid var(--app-background-color) !important;
}
.el-table--border th,
.el-table--border td {
  border-right: 0px solid #4e4e4e !important;
}
.el-table--group,
.el-table--border {
  border: 0px solid #f00 !important;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before,
.el-table__empty-block {
  background-color: transparent !important;
}
.el-table td:nth-child(1) {
  border-radius: 10px 0 0 10px;
}
.el-table td:last-child {
  border-radius: 0 10px 10px 0;
}
.el-table td:nth-child(1) {
  -webkit-border-top-left-radius: 0.8em; /* Safari */
  -webkit-border-bottom-left-radius: 0.8em; /* Safari */
}
.el-table td:last-child {
  -webkit-border-top-right-radius: 0.8em; /* Safari */
  -webkit-border-bottom-right-radius: 0.8em; /* Safari */
}

.el-table td {
  background: var(--backgroundv2);
}
.el-table td {
  border-bottom: 1px solid var(--backgroundv2) !important;
}

/* 表格报错 */
.el-table--enable-row-hover .el-table__body tr.errors > td {
  background: transparent !important;
  border-top: 1px solid var(--dangerv2) !important;
  border-bottom: 1px solid var(--dangerv2) !important;
}
.el-table--enable-row-hover .el-table__body tr.errors {
  box-shadow: 0px 0 10px 0px var(--dangerv2) inset;
  border-radius: 14px;
  background: var(--backgroundv2);
  padding-bottom: 0px;
}
.el-table--enable-row-hover .el-table__body tr.errors > td:nth-child(1) {
  border-left: 1px solid var(--dangerv2) !important;
}
.el-table--enable-row-hover .el-table__body tr.errors > td:last-child {
  border-right: 1px solid var(--dangerv2) !important;
}

/* 表格 hover 高亮 || 表格 selected(选中hao)*/
.el-table--enable-row-hover .el-table__body tr:hover > td,
.el-table--enable-row-hover .el-table__body tr.selected > td {
  background: transparent !important;
  border-top: 1px solid var(--theme) !important;
  border-bottom: 1px solid var(--theme) !important;
}
.el-table--enable-row-hover .el-table__body tr:hover,
.el-table--enable-row-hover .el-table__body tr.selected {
  box-shadow: 0px 0 10px 0px var(--theme) inset;
  border-radius: 14px;
  background: var(--backgroundv2);
  padding-bottom: 0px;
}
.el-table--enable-row-hover .el-table__body tr:hover > td:nth-child(1),
.el-table--enable-row-hover .el-table__body tr.selected > td:nth-child(1) {
  border-left: 1px solid var(--theme) !important;
}
.el-table--enable-row-hover .el-table__body tr:hover > td:last-child,
.el-table--enable-row-hover .el-table__body tr.selected > td:last-child {
  border-right: 1px solid var(--theme) !important;
}

.el-table .el-table__cell {
  padding: 8px 0;
}
/* 分页器 */
.el-pagination.is-background .el-pager li:not(.disabled):hover {
  color: var(--theme);
}
.el-pagination,
.el-pagination__jump,
.el-pagination__total {
  color: var(--main);
}
.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
  border-radius: 50%;
  min-width: 28px;
  line-height: 30px;
  background: var(--backgroundv2);
  color: var(--main);
  font-size: var(--basics-size);
}
.el-pagination__sizes .el-input__inner {
  border: 1px solid var(--border);
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background: var(--theme-05);
  box-shadow: 0px 0px 6px 0px var(--theme);
  border: 1px solid var(--theme);
  color: var(--main);
  line-height: 28px;
}
.el-pagination_lightColor.is-background .btn-next,
.el-pagination_lightColor.is-background .btn-prev,
.el-pagination_lightColor.is-background .el-pager li {
  background: var(--backgroundv2) !important;
}

/* 抽屉 */
.el-drawer {
  background: var(--dialog-background);
}
.el-drawer__open .el-drawer {
  background: var(--dialog-background);
  .el-drawer__header {
    color: var(--main);
    font-size: 18px;
    font-weight: bold;
  }
}
.sideFootBox {
  position: relative;
  border: 1px solid var(--theme);
  box-shadow: 0 0 10px 0 var(--theme);
  border-radius: 12px;
  &::after {
    z-index: 2;
    content: ' ';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--theme);
    border-right: 3px solid var(--theme);
    border-radius: 0 0 13px 0;
  }
  &::before {
    z-index: 2;
    content: ' ';
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--theme);
    border-left: 3px solid var(--theme);
    border-radius: 0 0 0 13px;
  }
  .sideFoot_content {
    position: relative;
    z-index: 1;
    background: var(--dialog-background);
    border-radius: 12px;
    &::after {
      content: ' ';
      z-index: 2;
      position: absolute;
      top: -2px;
      right: -2px;
      width: 20px;
      height: 20px;
      border-top: 3px solid var(--theme);
      border-right: 3px solid var(--theme);
      border-radius: 0 13px 0 0;
    }
    &::before {
      z-index: 2;
      content: ' ';
      position: absolute;
      top: -2px;
      left: -2px;
      width: 20px;
      height: 20px;
      border-top: 3px solid var(--theme);
      border-left: 3px solid var(--theme);
      border-radius: 13px 0 0 0;
    }
  }
}

.el-switch {
 /* border: 1px solid var(--border);
  border-radius: 20px;*/
}
/* 弹窗 */
.dialogClsss(@background) {
  color: var(--main);
  .el-dialog::after {
    content: ' ';
    z-index: 2;
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-top: 3px solid var(--theme);
    border-right: 3px solid var(--theme);
    border-radius: 0 13px 0 0;
  }
  .el-dialog::before {
    z-index: 2;
    content: ' ';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 20px;
    height: 20px;
    border-top: 3px solid var(--theme);
    border-left: 3px solid var(--theme);
    border-radius: 13px 0 0 0;
  }
  .el-dialog__body::after {
    z-index: 2;
    content: ' ';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--theme);
    border-right: 3px solid var(--theme);
    border-radius: 0 0 13px 0;
  }
  .el-dialog__body::before {
    z-index: 2;
    content: ' ';
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--theme);
    border-left: 3px solid var(--theme);
    border-radius: 0 0 0 13px;
  }
  .el-dialog {
    position: relative;
    border-radius: 12px;
    z-index: 1;
    background: @background;
    border: 1px solid var(--theme);
    box-shadow: 0 0 10px 0 var(--theme);
  }
  .el-dialog__header {
    padding: 0;
  }
  .el-dialog__body {
    padding: 0;
    color: #333;
    font-size: 12px;
    word-break: break-all;
    position: relative;
    z-index: auto;
    background: @background;
    border-radius: 12px;
  }
  .el-dialog__header {
    position: relative;
    z-index: 3;
    background: @background;
    border-radius: 12px 12px 0 0;
  }
  .dialog_header {
    color: var(--main);
    font-size: 18px;
    text-align: center;
    font-family: Helvetica;
    padding: 20px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    background: @background;
    border-radius: 12px 12px 0 0;
    .closeBox {
      right: 12px;
      top: 12px;
      position: absolute !important;
      //transform: translateY(-50%)
    }
  }
  .dialog_body {
    padding: 0px 30px 30px;
    .buttonBox {
      min-width: 100px;
    }
    .requiredTitle {
      color: var(--main);
      font-size: 16px;
      i {
        position: relative;
        top: -5px;
        left: 2px;
        color: #f00;
        margin-right: 10px;
      }
      span {
        font-size: 12px;
        color: #c8c8c8;
        &.c_9DA7B2 {
          color: var(--auxiliary);
        }
      }
    }
  }
}
.dialog_clsss_lightColor {
  .dialogClsss(var(--dialog-background));
}
/* 表单 */
.el-form-item.is-error {
  .search_darkColor {
    border: 1px solid var(--dangerv2);
    .el-input .el-input__inner {
      background: var(--input-background);
      border-color: var(--input-background);
    }
  }
  .search_lightColor {
    border: 1px solid var(--dangerv2);
    .el-input .el-input__inner {
      background: var(--input-background);
      border-color: var(--input-background);
    }
  }
}
/* 下拉选中 */
.el-tag.el-tag--info {
  background: linear-gradient(
    180deg,
    #3f4861 0%,
    var(--input-background-darkColor) 100%
  );
  border-color: #6380a8;
  color: #fff;
}
.el-tag.el-tag--info .el-tag__close {
  background: linear-gradient(
    180deg,
    #3f4861 0%,
    var(--input-background-darkColor) 100%
  );
  color: #fff;
}

/*=================== 深色 =========================*/
.darkColor() {
  input::-webkit-input-placeholder,
  textarea::-webkit-input-placeholder {
    color: var(--input-placeholder-darkColor) !important;
  }
  input:-moz-placeholder,
  textarea::-moz-placeholder {
    color: var(--input-placeholder-darkColor) !important;
  }
  input::-moz-placeholder,
  textarea::-moz-placeholder {
    color: var(--input-placeholder-darkColor) !important;
  }
  input:-ms-input-placeholder,
  textarea::-ms-input-placeholder {
    color: var(--input-placeholder-darkColor) !important;
  }

  .el-input__wrapper {
    background: var(--input-background-darkColor);
  }

  .el-input__inner,
  .el-input .el-input__inner,
  .el-textarea__inner {
    font-size: var(--basics-size);
    color: var(--main);
    background: var(--input-background-darkColor);
    border-color: var(--input-border-darkColor);
    &:focus {
      border-color: var(--theme);
    }
    &:hover {
      border-color: var(--theme);
    }
  }
}
.collapse-item__header_darkColor.small {
  .el-collapse-item__header {
    height: 30px;
    line-height: 30px;
  }
}
.cascader_darkColor {
  .darkColor();
}
.select_darkColor {
  .darkColor();
}
.input_darkColor {
  .darkColor();
}
.datePicker_darkColor {
  .darkColor();
}
.el-cascader:not(.is-disabled):hover .el-input__inner,
.el-select:hover .el-input__inner {
  cursor: pointer;
  border-color: var(--theme);
}

.elTable__darkColor {
  .el-table__header,
  .el-table__body,
  .el-table__footer {
    background: var(--dialog-background);
  }
  .el-table th {
    font-size: 14px;
    font-weight: bold;
    color: var(--main) !important;
    background: var(--dialog-background) !important;
  }
  .el-table tr {
    color: var(--main) !important;
    background: var(--dialog-background);
    padding-bottom: 10px;
  }
  .el-table th.is-leaf {
    border-bottom: 0px solid var(--dialog-background) !important;
  }
  .el-table--group::after,
  .el-table--border::after,
  .el-table::before,
  .el-table__empty-block {
    background-color: var(--dialog-background) !important;
  }
  .el-table__body-wrapper {
    background: var(--dialog-background);
  }
}
.search_darkColor {
  .darkColor();
  .searchInput(
      var(--input-background-darkColor),
      var(--input-border-darkColor),
      var(--input-button-darkColor)
    );
}
/* 弹窗 */
.dialog_clsss {
  .dialogClsss(var(--dialog-background-darkColor));
}
.dialog_clsss-sos {
  color: var(--main);
  .el-dialog::after {
    content: ' ';
    z-index: 2;
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-top: 3px solid var(--dangerv2);
    border-right: 3px solid var(--dangerv2);
    border-radius: 0 13px 0 0;
  }
  .el-dialog::before {
    z-index: 2;
    content: ' ';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 20px;
    height: 20px;
    border-top: 3px solid var(--dangerv2);
    border-left: 3px solid var(--dangerv2);
    border-radius: 13px 0 0 0;
  }
  .el-dialog__body::after {
    z-index: 2;
    content: ' ';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--dangerv2);
    border-right: 3px solid var(--dangerv2);
    border-radius: 0 0 13px 0;
  }
  .el-dialog__body::before {
    z-index: 2;
    content: ' ';
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--dangerv2);
    border-left: 3px solid var(--dangerv2);
    border-radius: 0 0 0 13px;
  }
  .el-dialog {
    position: relative;
    border-radius: 12px;
    z-index: 1;
    background: var(--dialog-background-darkColor);
    border: 1px solid var(--dangerv2);
    box-shadow: 0 0 10px 0 var(--dangerv2);
  }
  .el-dialog__header {
    padding: 0;
  }
  .el-dialog__body {
    padding: 0;
    color: #333;
    font-size: 12px;
    word-break: break-all;
    position: relative;
    z-index: auto;
    background: var(--dialog-background-darkColor);
    border-radius: 12px;
  }
  .el-dialog__header {
    position: relative;
    z-index: 3;
    background: var(--dialog-background-darkColor);
    border-radius: 12px 12px 0 0;
  }
  .dialog_header {
    color: var(--main);
    font-size: 18px;
    text-align: center;
    font-family: Helvetica;
    padding: 20px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    background: var(--dialog-background-darkColor);
    border-radius: 12px 12px 0 0;
    .closeBox {
      right: 12px;
      top: 12px;
      position: absolute !important;
      //transform: translateY(-50%)
    }
  }
  .dialog_body {
    padding: 0px 30px 30px;
    .buttonBox {
      min-width: 100px;
    }
    .requiredTitle {
      color: var(--main);
      font-size: 16px;
      i {
        position: relative;
        top: -5px;
        left: 2px;
        color: #f00;
        margin-right: 10px;
      }
      span {
        font-size: 12px;
        color: #c8c8c8;
        &.c_9DA7B2 {
          color: var(--auxiliary);
        }
      }
    }
  }
}
/* 弹出框 */
.popover_darkColor {
  border-color: var(--border) !important;
  background: var(--backgroundv2) !important;
  box-shadow: 0 0 10px 4px var(--backgroundv2) !important;
  padding: 0 !important;
  color: var(--main) !important;
  //.popper__arrow{
  //  border-top-color: #365D84 !important;
  //}
  //.popper__arrow::after{
  //  border-top-color: #0E1525 !important;
  //}
}
.popover_echarts {
  border-color: var(--theme) !important;
  background: var(--background) !important;
  box-shadow: 0px 0px 10px 0px var(--theme-02) !important;
  padding: 0;
  color: var(--main);
  .popper__arrow {
    border-bottom-color: var(--theme) !important;
    border-top-color: var(--theme) !important;
  }
  .popper__arrow::after {
    border-bottom-color: var(--background) !important;
    border-top-color: var(--background) !important;
  }
  //.popper__arrow{
  //  border-top-color: #365D84 !important;
  //}
  //.popper__arrow::after{
  //  border-top-color: #0E1525 !important;
  //}
}
/* 日期选择器 */
.datePicker_datetimerange_darkColor {
  .darkColor();
  .el-date-editor .el-range-separator {
    color: #888b8f;
  }
  .el-range-editor .el-range-input {
    color: var(--main);
    background: var(--input-background-darkColor);
  }
}
/* 折叠 */
.collapse-item__header_darkColor {
  border-top: 1px solid var(--backgroundv2);
  border-bottom: 1px solid var(--backgroundv2);
  border-radius: 6px;
  overflow: hidden;
  .el-collapse-item__wrap {
    background: var(--backgroundv2);
    border-bottom: 1px solid var(--backgroundv3);
  }
  .el-collapse-item__header {
    border-bottom: 1px solid var(--backgroundv3);
    text-align: center;
    font-size: 16px;
    font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
    font-weight: bold;
    color: #ffffff;
    background: var(--backgroundv2);
    display: flex;
    justify-content: center;
    position: relative;
    .el-collapse-item__arrow {
      margin: 0;
      position: absolute;
      right: 10px;
      font-weight: bolder;
      font-size: 22px;
    }
  }
  .el-collapse-item__content {
    background: var(--backgroundv2);
    color: #fff;
    border: 0px;
    padding-top: 14px;
    padding-bottom: 0px;
  }
}
/**/
.el-tree {
  background: var(--app-background-color) !important;
}
.el-tree-node .is-checked {
  background-color: var(--input-background-darkColor);
}
.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
  background-color: var(--input-background-darkColor);
}
.el-tree-node__content:hover {
  background-color: var(--input-background-darkColor);
}
.el-tree-node:focus > .el-tree-node__content {
  background-color: var(--input-background-darkColor);
}

/*树形 选择框位置*/
.el-tree-node__content > label.el-checkbox {
  margin-right: 12px;
  position: absolute;
  right: 0;
}
.equipment .device-el-tree .el-tree-node__content {
  height: 32px !important;
}
/*树形 禁止选择框*/
.el-checkbox__input.is-disabled .el-checkbox__inner {
  background-color: #43454c;
  border-color: #43454c;
}
/*单选框*/
.el-radio {
  color: var(--auxiliary);
}
.el-radio__inner {
  border-color: var(--input-border);
  background: var(--backgroundv2);
}
.el-radio__inner:hover {
  border-color: var(--theme);
}
.el-radio__input.is-checked .el-radio__inner {
  border-color: var(--theme);
  background: var(--backgroundv2);
}
.el-radio__input.is-checked + .el-radio__label {
  color: var(--theme);
}
.el-radio__inner::after {
  background-color: var(--theme);
}
/*多选框*/
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background: var(--theme-05);
  box-shadow: 0px 0px 4px 0px var(--theme);
  border: 1px solid var(--theme);
}
.el-checkbox {
  color: var(--main);
}
.el-checkbox__label {
  white-space: break-spaces !important;
  vertical-align: middle;
}
.el-checkbox__inner {
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
  &:hover {
    border-color: var(--theme);
  }
}
.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner,
.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner {
  background-color: var(--theme);
  border-color: var(--theme);
}
.el-checkbox__input.is-disabled .el-checkbox__inner,
.el-input.is-disabled .el-input__inner {
  background: transparent;
  border-color: var(--info);
}
.el-checkbox__input.is-disabled + span.el-checkbox__label {
  color: var(--info);
}
.el-checkbox__inner::after {
  height: 6px;
  top: 2px;
  border: 1px solid var(--main);
  border-left: 0;
  border-top: 0;
}
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: var(--theme);
}
.el-checkbox__input.is-indeterminate .el-checkbox__inner::before {
  height: 4px;
  top: 4px;
  background-color: var(--main);
}
/*多选框离开后是否需要改变颜色*/
/*.el-checkbox__input.is-focus .el-checkbox__inner {*/
/*  border-color: #4C5359;*/
/*}*/
.el-date-editor .el-range-input {
  color: #fff;
  background: var(--input-background);
}
.el-date-editor .el-range-separator {
  color: #888b8f;
}
.el-progress-bar__outer {
  background: var(--background);
}
.amap-marker-content {
  white-space: revert !important;
}
.el-form-item__label {
  position: relative;
}
.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before,
.el-form-item.is-required:not(.is-no-asterisk)
  .el-form-item__label-wrap
  > .el-form-item__label:before {
  content: '*';
  color: var(--dangerv2);
  margin-right: 4px;
  position: absolute;
  right: 0;
  top: -5px;
}

/* 角色权限 */
.roleOperation {
  .el-checkbox__label {
    padding-left: 6px;
  }
  .el-checkbox {
    display: inline-flex;
    align-items: center;
    margin-right: 14px;
  }
  .el-checkbox .el-checkbox__input {
    display: flex;
    align-items: center;
  }
  .collapse-item__header_lightColor {
    border-top: 0px solid #3e485a;
    border-bottom: 0px solid #3e485a;
    .el-collapse-item_contentBox > .operationButton,
    .el-collapse-item__header > .operationButton {
      display: none;
    }
    .el-collapse-item_contentBox:hover > .operationButton,
    .el-collapse-item__header:hover > .operationButton {
      display: inherit;
    }
    .el-collapse-item {
      overflow: hidden;
      border-radius: 6px;
      box-shadow: 0px 0px 9px 0px rgba(29, 30, 34, 0.5);
      margin-top: 8px;
      .el-collapse-item .el-collapse-item__header {
        background: var(--backgroundv2) !important;
      }
    }
    .zlevelBox {
      border-radius: 6px;
      border: 1px solid #3e485a;
      box-shadow: 0px 0px 9px 0px rgba(29, 30, 34, 0.5);
      margin-bottom: 8px;
    }
    .el-collapse-item__wrap {
      //padding: 10px;
      border-bottom: 0px solid #3e485a;
      background: var(--input-background);
    }
    .el-collapse-item__header {
      line-height: inherit;
      border: 0px solid #3e485a;
      text-align: left;
      font-size: 14px;
      font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
      font-weight: bold;
      color: #ffffff;
      display: flex;
      justify-content: space-between;
      position: relative;
      height: 38px;
      background: var(--background-main-color);
      padding-left: 20px;
      border-radius: 6px;
      .titleBox {
        width: 20px;
        height: 20px;
      }
      .el-icon-arrow-right:before {
        content: '\e791';
      }
      .el-collapse-item__arrow {
        margin: 0;
        position: absolute;
        left: 10px;
        font-weight: bolder;
        font-size: 16px;
      }
    }
    .el-collapse-item__content {
      color: #fff;
      border: 0px;
      font-size: 12px;
      padding: 0;
      .el-collapse-item_contentBox {
        background: var(--item-background-main-color);
        padding: 6px 0px 6px 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .item_contentBox_title {
          font-size: 14px;
          flex-shrink: 0;
          margin-right: 10px;
        }
      }
      .el-collapse-item_contentBox:nth-child(2n) {
        background: var(--background);
      }
    }
    .childIsOp .el-collapse-item__header {
      border-radius: 6px 6px 0 0 !important;
    }
    .noChildren {
      .el-collapse-item__arrow {
        opacity: 0;
      }
    }
  }
}
.el-select .el-input.is-disabled .el-input__inner:hover {
  border-color: #686c79;
}
.el-tabs__header {
  .el-tabs__nav-next:hover,
  .el-tabs__nav-prev:hover {
    color: #fff;
  }
  .el-tabs__nav-next,
  .el-tabs__nav-prev {
    i {
      position: relative;
      top: -2px;
    }
  }
  .el-tabs__active-bar {
    background: var(--main-select-color);
  }
  .el-tabs__nav-wrap::after {
    background: var(--item-background-main-color);
  }
  .el-tabs__item {
    color: var(--fontSize-auxiliary-color);
    font-size: 14px;
  }
  .el-tabs__item.is-active {
    color: #fff;
  }
}
.treeDeviceBox {
  width: 100%;
  height: 36px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  & > div {
    justify-content: left;
    flex-grow: 1;
  }
  .deviceType-sos {
    font-size: 14px;
    font-weight: bold;
    color: #f56c6c;
    position: relative;
    top: 2px;
  }
  .deviceType {
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(270deg, #27acff 0%, #2ddbf4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .deviceName {
    overflow: hidden;
    user-select: none;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 4px;
    width: 0;
    flex-grow: 1;
  }
}
/* 导航页面 */
.el-tabs {
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  .el-tabs__nav-wrap.is-scrollable {
    padding: 0 50px 0 0;
    position: relative;
    .el-tabs__nav-next:hover,
    .el-tabs__nav-prev:hover {
      background: #fff;
    }
    .el-tabs__nav-next,
    .el-tabs__nav-prev {
      width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #9da7b2;
      border-radius: 50%;
      color: #2f3441;
      i::before {
        font-weight: bold;
        position: relative;
        top: 3px;
      }
    }
    .el-tabs__nav-next {
      position: absolute;
      top: 50%;
      right: 6px;
      transform: translateY(-50%);
    }
    .el-tabs__nav-prev {
      left: inherit;
      position: absolute;
      right: 28px;
      top: 50%;
      transform: translateY(-50%);
    }
  }
  .el-tabs__header {
    margin: 0;
    .el-tabs__active-bar {
      height: 0px;
      background: var(--main-select-color);
    }
  }
  .el-tabs__content {
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    border: 1px solid var(--backgroundv2);
  }
  .el-tabs__item {
    border-radius: 6px 6px 0px 0px;
    border: 1px solid var(--backgroundv2);
    padding: 0 20px !important;
  }
  .el-tabs__item:hover {
    color: #fff;
    box-shadow: var(--theme) 0px 1px 3px 0px inset;
  }
  .is-active {
    font-weight: bold;
    border: 1px solid var(--backgroundv2);
    background: var(--background-gradientV2);
  }
  .el-tabs__nav-wrap.is-scrollable,
  .el-tabs__nav-scroll {
    background: var(--backgroundv2);
  }
}
.childrenTabs {
  .el-tabs {
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    .el-tabs__nav-next,
    .el-tabs__nav-prev {
      i::before {
        top: 2px !important;
      }
    }
    .el-tabs__header {
      margin: 0;
      .el-tabs__active-bar {
        height: 2px;
        border-bottom: 3px solid;
        border-image: linear-gradient(
            50deg,
            rgba(0, 216, 247, 0) 0%,
            #2df2ff 50%,
            rgba(0, 216, 247, 0)
          )
          2 2 2 2;
        background: transparent;
      }
    }
    .el-tabs__content {
      border-radius: 0 0 8px 8px;
      overflow: hidden;
      border: 0px solid var(--input-background-darkColor);
    }
    .el-tabs__item {
      border-radius: 6px 6px 0px 0px;
      border: 0px solid transparent;
      padding: 0 20px !important;
    }
    .el-tabs__item:hover {
      color: #fff;
      box-shadow: transparent 0px 1px 3px 0px inset;
      border-bottom: 3px solid;
      border-image: linear-gradient(
          50deg,
          rgba(0, 216, 247, 0) 0%,
          #2df2ff 40%,
          rgba(0, 216, 247, 0) 80%
        )
        2 2 2 2;
    }
    .is-active {
      color: #fff !important;
      background: transparent;
      box-shadow: transparent 0px 1px 3px 0px inset;
      border-bottom: 3px solid;
      border-image: linear-gradient(
          50deg,
          rgba(0, 216, 247, 0) 0%,
          #2df2ff 40%,
          rgba(0, 216, 247, 0) 80%
        )
        2 2 2 2;
    }
    .el-tabs__nav-wrap.is-scrollable,
    .el-tabs__nav-scroll {
      background: transparent;
    }
  }
}
.calendar_darkColor {
  background-color: transparent;
  .el-calendar__header::after {
    content: ' ';
    width: 100%;
    height: 1px;
    background: rgba(157, 167, 178, 0.6);
    border-radius: 4px;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  /* 日历头部按钮 */
  .el-calendar__header {
    position: relative;
    border: 0px;
    padding: 10px 0;
    .el-calendar__title {
      font-size: 18px;
      font-weight: bold;
      color: var(--main);
    }
    .el-calendar__button-group {
      .el-button-group {
        .el-button {
          color: var(--auxiliary);
          font-size: 14px;
          background: var(--backgroundv2);
          border: 1px solid var(--border);
          border-radius: 2px;
          &:focus {
            font-weight: bold;
            color: var(--main);
            background: var(--background-gradientV2);
          }
          &:hover {
            font-weight: bold;
            color: var(--main);
            background: var(--background-gradientV2);
          }
        }
      }
    }
  }
  /* 日历 */
  .el-calendar__body {
    padding: 0;
    margin-bottom: 20px;
    .el-calendar-table thead th {
      font-size: 16px;
      font-weight: bold;
      color: #ffffff;
    }
    .el-calendar-table tr:first-child td {
      border-top: 2px solid #ebeef5;
    }
    .el-calendar-table td {
      border-bottom: 2px solid #ebeef5;
      border-right: 2px solid #ebeef5;
      vertical-align: top;
      transition: background-color 0.2s ease;
    }
    .el-calendar-table tr:first-child td,
    .el-calendar-table td,
    .el-calendar-table td.is-selected {
      border-color: rgba(157, 167, 178, 0.5);
      background: transparent;
    }
    .el-calendar-table .el-calendar-day:hover,
    .el-calendar-table td.is-selected .el-calendar-day {
      position: relative;
      background: transparent;
      box-shadow: 0px 0 12px 0px var(--theme) inset;
      border: 1px solid var(--theme) !important;
      color: var(--main);
    }
    .is-selected {
      color: #fff;
    }
    .el-backtop,
    .el-calendar-table td.is-today {
      color: #fff;
    }
    .el-calendar-table:not(.is-range) td {
      .item_title {
        color: #fff;
      }
    }
    .el-calendar-table:not(.is-range) td.is-today {
      color: #fff;
    }
    .el-calendar-table:not(.is-range) td.next,
    .el-calendar-table:not(.is-range) td.prev {
      color: rgba(157, 167, 178, 0.4);
      .item_title {
        color: rgba(255, 255, 255, 0.4);
      }
    }
    .el-calendar-table .el-calendar-day {
      padding: 0;
    }
  }
}
.docx-wrapper {
  padding: 0 !important;
  background: transparent !important;
}
.vbtTable {
  .el-table__expand-icon {
    line-height: 30px !important;
    height: 30px !important;
  }
  .el-table__placeholder {
    margin-right: 3px;
  }
  .el-table__header,
  .el-table__body,
  .el-table__footer {
    padding: 0 10px;
    box-sizing: border-box;
    background: var(--dialog-background);
  }
  .el-table__body,
  .el-table__footer,
  .el-table__header {
    table-layout: inherit;
  }
  .el-table tr,
  .el-table td {
    background: var(--backgroundv2) !important;
    border-radius: 4px;
  }
  .centerBox {
    min-height: 30px;
  }
  /* 表格报错 */
  .el-table--enable-row-hover .el-table__body tr.errors > td {
    background: transparent !important;
    border-top: 1px solid var(--dangerv2) !important;
    border-bottom: 1px solid var(--dangerv2) !important;
  }
  .el-table--enable-row-hover .el-table__body tr.errors {
    box-shadow: 0px 0 10px 0px var(--dangerv2) inset;
    border-radius: 4px;
    background: var(--backgroundv2);
    padding-bottom: 0px;
  }
  .el-table--enable-row-hover .el-table__body tr.errors > td:nth-child(1) {
    border-left: 1px solid var(--dangerv2) !important;
  }
  .el-table--enable-row-hover .el-table__body tr.errors > td:last-child {
    border-right: 1px solid var(--dangerv2) !important;
  }

  /* 表格 hover 高亮 || 表格 selected(选中hao)*/
  .el-table--enable-row-hover .el-table__body tr:hover > td,
  .el-table--enable-row-hover .el-table__body tr.selected > td {
    background: transparent !important;
    border-top: 1px solid var(--theme) !important;
    border-bottom: 1px solid var(--theme) !important;
  }
  .el-table--enable-row-hover .el-table__body tr:hover,
  .el-table--enable-row-hover .el-table__body tr.selected {
    box-shadow: 0px 0 10px 0px var(--theme) inset;
    border-radius: 4px;
    background: var(--backgroundv2);
    padding-bottom: 0px;
  }
  .el-table--enable-row-hover .el-table__body tr:hover > td:nth-child(1),
  .el-table--enable-row-hover .el-table__body tr.selected > td:nth-child(1) {
    border-left: 1px solid var(--theme) !important;
  }
  .el-table--enable-row-hover .el-table__body tr:hover > td:last-child,
  .el-table--enable-row-hover .el-table__body tr.selected > td:last-child {
    border-right: 1px solid var(--theme) !important;
  }
  .treeDeviceBox {
    color: #9eacbc !important;
  }
}
.el-textarea .el-input__count,
.el-input .el-input__count .el-input__count-inner {
  background: transparent;
}
/* 二级导航栏 */
#operator-menu-box {
  width: 200px;
  height: 100%;
  overflow: auto;
  background: rgba(13, 26, 42, 0.6);
  box-shadow: inset 0px 0px 10px 0px #1f4b77;
  //backdrop-filter: blur(5px);
  .operator-list {
    .operator-list-item {
      display: flex;
      align-items: center;
      padding: 0 20px;
      box-sizing: border-box;
      cursor: pointer;
      height: 60px;
      background: rgba(13, 26, 42, 0.6);
      box-shadow: inset 0px 0px 10px 0px #1f4b77;
      //backdrop-filter: blur(5px);
      font-size: 14px;
      color: var(--auxiliary);
      line-height: 25px;
      &:hover {
        background: linear-gradient(180deg, #163352 0%, #0da7c1 100%);
        .operator-label {
          font-weight: bold;
          color: #fff !important;
        }
      }
      .svgBox {
        width: 18px;
        height: 18px;
        margin-right: 10px;
      }
      .operator-label {
        display: flex;
      }
    }
    .operator-list-cur-item {
      background: linear-gradient(180deg, #163352 0%, #0da7c1 100%);
      color: #fff !important;
      .operator-label {
        font-weight: bold;
        color: #fff !important;
      }
      .operator-label,
      .svgBox {
        color: #fff;
      }
    }
  }
}
.equipment {
  .selectBox {
    box-shadow: 0px 0 10px 0px var(--theme) inset;
    td {
      background: transparent !important;
      border: 1px solid var(--theme) !important;
    }
  }
  .el-table .cell {
    display: flex;
    .el-checkbox__label {
      padding-left: 4px;
    }
    .el-icon-arrow-right {
      color: #fff;
      position: relative;
      top: 1px;
    }
    .el-icon-arrow-right:before {
      content: '\e791';
    }
    .el-table__placeholder,
    el-table__indent,
    .spanBox,
    .svgBox {
      flex-shrink: 0;
    }
    .svgBox {
      width: 20px !important;
      height: 20px !important;
    }
  }
  .treeDeviceBox {
    display: flex;
    justify-content: space-between;
    padding-right: 10px;
    box-sizing: border-box;
  }
  .el-table__body,
  .el-table__footer,
  .el-table__header {
    width: 100% !important;
  }
  .el-table {
    width: 100% !important;
  }
  .el-table__body-wrapper {
    width: 100% !important;
  }
  .disableSelection {
    cursor: no-drop;
    td,
    .cursor_pointer,
    .el-checkbox__input {
      cursor: no-drop;
    }
  }
}
.amap-container {
  background: transparent !important;
}
.transparentDrawer {
  background: transparent !important;
}
.progress-bar_outer {
  .el-progress-bar__inner {
    background: linear-gradient(270deg, #b9e9ff 0%, #00f6ff 100%);
    box-shadow: 0px 0px 4px 0px var(--border);
  }
}
.progress-bar_outer_errors {
  .el-progress-bar__inner {
    background: linear-gradient(270deg, var(--dangerv2) 0%, var(--danger) 100%);
    box-shadow: 0px 0px 4px 0px var(--border);
  }
}
.progress-bar_outer_errors_backgroundv3 {
  .el-progress-bar__inner {
    background: linear-gradient(270deg, var(--dangerv2) 0%, var(--danger) 100%);
    box-shadow: 0px 0px 4px 0px var(--border);
  }
  .el-progress-bar__outer {
    background: var(--backgroundv3);
  }
}
/* tooltip 弹窗背景色 */
.el-tooltip__popper .popper__arrow {
  border-top-color: var(--border) !important;
  border-bottom-color: var(--border) !important;
}
.el-tooltip__popper .popper__arrow::after {
  border-bottom-color: var(--backgroundv2) !important;
}
.el-tooltip__popper.is-dark {
  color: var(--main);
  border: 1px solid var(--border);
  background: var(--backgroundv2);
  box-shadow: 0 0 10px 4px var(--backgroundv2);
}
.el-tooltip__popper .popper__arrow::after {
  border-top-color: var(--backgroundv2) !important;
}
/* 卡片 */
.cardContainerBox {
  &:hover {
    border: 1px solid var(--theme);
  }
  display: flex;
  flex-direction: column;
  margin: 6px 4px 6px 2px;
  background: var(--backgroundv2);
  border: 1px solid var(--border);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  .templateNameBox {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 22px;
    line-height: 22px;
    padding: 0 8px;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: bold;
    color: var(--main);
    background: var(--background_mask);
  }
  .documentTitle {
    height: 40px;
    line-height: 40px;
    font-weight: 600;
  }
}

/* 弹窗颜色 */
.el-picker-panel,
.el-picker-panel__footer,
.el-input.is-disabled .el-input__inner,
.el-select-dropdown,
.el-cascader__dropdown,
.el-time-panel,
.el-dropdown-menu,
.el-popover {
  border-color: var(--border);
  background: var(--backgroundv2);
  box-shadow: 0 0 10px 4px var(--backgroundv2);
}
/* 打开弹窗，输入框颜色 */
.el-select .el-input.is-focus .el-input__inner,
.el-cascader .el-input .el-input__inner:focus,
.el-cascader .el-input.is-focus .el-input__inner {
  border-color: var(--theme);
}
/* 日历标题 */
.el-date-picker__header-label {
  color: var(--auxiliary);
}
.el-date-picker__header-label.active,
.el-date-picker__header-label:hover {
  color: var(--theme);
}
/* 选择日期 */
.el-month-table td .cell {
  color: var(--auxiliary);
}
.el-date-table td.available:hover,
.el-month-table td.current:not(.disabled) .cell,
.el-year-table td .cell:hover,
.el-year-table td.current:not(.disabled) .cell,
.el-month-table td .cell:hover {
  color: var(--theme);
}
.el-date-picker__header--bordered {
  border-bottom-color: var(--border-auxiliary);
}
/* 可选择时间 */
.el-select-dropdown__item,
.el-picker-panel {
  color: var(--auxiliary);
}
.el-date-table td.next-month,
.el-date-table td.prev-month {
  color: var(--info);
}
.el-date-table td.disabled div {
  background-color: var(--backgroundv3);
  color: var(--info);
  opacity: 0.5;
}
/* 其他展示 （《》 星期） */
.el-date-table th,
.el-picker-panel__icon-btn,
.el-date-range-picker__time-header > .el-icon-arrow-right {
  color: var(--auxiliary);
  border-bottom-color: var(--border-auxiliary);
}
/* 三角内部 */
.el-popper[x-placement^='top'] .popper__arrow::after,
.el-popper[x-placement^='bottom'] .popper__arrow::after {
  border-bottom-color: var(--backgroundv2);
  border-top-color: var(--backgroundv2);
}
/* 三角边框 */
.el-popper[x-placement^='top'] .popper__arrow,
.el-popper[x-placement^='bottom'] .popper__arrow {
  border-bottom-color: var(--border);
  border-top-color: var(--border);
}
.popover_theme[x-placement^='top'] .popper__arrow,
.popover_theme[x-placement^='bottom'] .popper__arrow {
  border-bottom-color: var(--theme);
  border-top-color: var(--theme);
}

.el-popper[x-placement^='left'] .popper__arrow::after,
.el-popper[x-placement^='right'] .popper__arrow::after {
  border-left-color: var(--backgroundv2);
  border-right-color: var(--backgroundv2);
}
/* 三角边框 */
.el-popper[x-placement^='left'] .popper__arrow,
.el-popper[x-placement^='right'] .popper__arrow {
  border-left-color: var(--border);
  border-right-color: var(--border);
}
.popover_theme[x-placement^='left'] .popper__arrow,
.popover_theme[x-placement^='right'] .popper__arrow {
  border-left-color: var(--theme);
  border-right-color: var(--theme);
}

.el-date-table td.selected div {
  background: var(--theme);
}
.el-date-table td.selected div:hover {
  background: var(--theme);
}
.el-date-table td.current:not(.disabled) span,
.el-date-table td.selected span {
  background: var(--backgroundv3);
  color: var(--theme);
}
.el-date-table td.end-date span,
.el-date-table td.start-date span {
  background: var(--backgroundv2);
  color: var(--theme);
}
.el-date-table td.in-range div,
.el-date-table td.in-range div:hover,
.el-date-table.is-week-mode .el-date-table__row.current div,
.el-date-table.is-week-mode .el-date-table__row:hover div {
  background: var(--backgroundv3);
}

.el-select-dropdown__item.hover,
.el-cascader-node:not(.is-disabled):focus,
.el-cascader-node:not(.is-disabled):hover {
  background: var(--backgroundv2);
  color: var(--auxiliary);
}
.el-select-dropdown__item:hover {
  background: var(--backgroundv3);
  color: var(--theme);
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
  background: var(--backgroundv3);
  color: var(--theme);
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover {
  background: var(--backgroundv3);
  color: var(--theme);
}
.el-range-editor.is-active,
.el-range-editor.is-active:hover {
  border-color: var(--theme);
}
.el-select-dropdown__item.selected,
.el-cascader-node.in-active-path,
.el-cascader-node.is-active,
.el-cascader-node.is-selectable.in-checked-path,
.el-date-table td.today span {
  color: var(--theme);
}
/* 级联选择器搜索 */
.el-cascader__suggestion-list {
  color: var(--auxiliary);
}
.el-cascader__suggestion-item:focus,
.el-cascader__suggestion-item:hover {
  color: var(--theme);
  background: var(--backgroundv3);
}
/* 多选 */
.el-cascader-menu {
  color: var(--auxiliary);
  border-right: solid 1px var(--border-auxiliary);
}
.el-date-range-picker__time-header,
.el-date-range-picker__content.is-left {
  border-color: var(--border-auxiliary);
}
/* 滑块 */
.el-slider__bar {
  background-color: var(--theme);
}
.el-slider__button {
  border-color: var(--theme);
}
.el-time-spinner__item:hover:not(.disabled):not(.active) {
  background-color: var(--backgroundv3);
}
.el-time-spinner__item {
  color: var(--auxiliary);
}
.el-time-spinner__item.active:not(.disabled) {
  color: var(--theme);
}
.el-time-panel__btn.confirm {
  color: var(--theme);
}
.el-time-panel__footer,
.el-time-panel__content::after,
.el-time-panel__content::before {
  border-color: var(--border-auxiliary);
}
/* 弹窗中的按钮 */
.el-picker-panel__footer {
  .el-button {
    color: var(--main);
  }
  .el-button.is-plain {
    color: #fff;
    background: linear-gradient(180deg, #154d5b 0%, #123742 53%, #1c818a 100%);
    border: 1px solid rgba(45, 242, 255, 0.6);
    &:focus {
      color: #fff;
      background: linear-gradient(
        180deg,
        #1c818a 0%,
        #123742 53%,
        #1c818a 100%
      );
      box-shadow: 0px 0px 6px 0px #2df2ff;
      border: 1px solid rgba(45, 242, 255, 0.6);
    }
    &:hover {
      color: #fff;
      background: linear-gradient(
        180deg,
        #1c818a 0%,
        #123742 53%,
        #1c818a 100%
      );
      box-shadow: 0px 0px 6px 0px #2df2ff;
      border: 1px solid rgba(45, 242, 255, 0.6);
    }
  }
  button.el-button.is-disabled {
    color: #fff;
    background: linear-gradient(180deg, #751515 0%, #641e0f 53%, #c92525 100%);
    border: 1px solid var(--dangerv2);
    &:focus {
      color: #fff;
      background: linear-gradient(
        180deg,
        #c92525 0%,
        #641e0f 53%,
        #c92525 100%
      );
      box-shadow: 0px 0px 6px 0px var(--dangerv2);
      border: 1px solid var(--dangerv2);
    }
    &:hover {
      color: #fff;
      background: linear-gradient(
        180deg,
        #c92525 0%,
        #641e0f 53%,
        #c92525 100%
      );
      box-shadow: 0px 0px 6px 0px var(--dangerv2);
      border: 1px solid var(--dangerv2);
    }
  }
}
/* 高德弹窗内容 */
.amap-info-contentContainer {
  .amap-info-content {
    padding: 0px 10px;
  }
  .amap-info-close {
    display: none;
  }
  .amap-info-outer {
    .title {
      font-size: 14px;
      color: var(--main);
      line-height: 36px;
      font-weight: bolder;
      margin-bottom: 6px;
      border-bottom: 1px solid var(--theme);
    }
    .address {
      font-size: 14px;
      color: var(--auxiliary);
      margin-bottom: 6px;
    }
    border: 1px solid var(--theme);
    background: var(--dialog-background);
    box-shadow: 0 0 10px 4px var(--dialog-background);
  }
  .amap-info-sharp {
    &::before {
      content: ' ';
      position: absolute;
      margin-left: -7px;
      margin-top: -9px;
      border-left: 7px solid transparent;
      border-right: 7px solid transparent;
      border-top: 7px solid var(--dialog-background);
    }
    border-bottom-color: var(--theme);
    border-top-color: var(--theme);
  }
}
.el-table__expand-icon > .el-icon {
  color: #fff;
}
.el-pagination button:disabled {
  color: var(--auxiliary);
  background: transparent;
}
.el-pager li.btn-quicknext,
.el-pager li.btn-quickprev {
  color: var(--auxiliary);
}
.el-dialog,
.el-pager li {
  color: var(--auxiliary);
  background: transparent;
}
.el-pagination .btn-next,
.el-pagination .btn-prev {
  background: center center no-repeat transparent;
  color: var(--auxiliary);
}
.el-select-dropdown__item {
  max-width: 1200px;
}
.el-time-range-picker__body {
  border-radius: 2px;
  border: 1px solid var(--border);
}
.el-select .el-input__inner:focus {
  border-color: var(--theme);
}
.el-picker-panel,
.el-picker-panel__footer,
.el-input.is-disabled .el-input__inner,
.el-select-dropdown,
.el-cascader__dropdown,
.el-time-panel,
.el-dropdown-menu,
.el-popover {
  border-color: var(--border);
  background: var(--backgroundv2);
  box-shadow: 0 0 10px 4px var(--backgroundv2);
}
.popover_theme {
  border-color: var(--theme);
}
.el-dropdown-menu__item {
  color: var(--auxiliary);
}
.el-dropdown-menu__item:focus,
.el-dropdown-menu__item:not(.is-disabled):hover {
  background: var(--backgroundv3);
  color: var(--theme);
}

.el-picker-panel [slot='sidebar'],
.el-picker-panel__sidebar {
  background-color: var(--backgroundv2);
  border-right: 1px solid var(--border);
}
.el-picker-panel__shortcut:hover {
  color: var(--theme);
}
.el-picker-panel__shortcut {
  color: var(--auxiliary);
}
.bigemap-left {
  display: none;
}
.bigemap-container {
  background: var(--background) !important;
}

.satelliteMap1 {
  .markerName {
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
    color: var(--main);
  }
}
.satelliteMap2,
.satelliteMap3 {
  .markerName {
    text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
    color: #000;
  }
}
.switch_custom {
  .el-switch__label * {
    font-size: 12px !important;
  }
  .el-switch__label {
    position: absolute;
    display: none;
    color: #fff;
  }
  .el-switch__label--left {
    z-index: 9;
    right: 0;
    border-color: transparent !important;
    background-color: transparent !important;
  }
  .el-switch__label--right {
    z-index: 9;
    left: 0px;
  }
  .el-switch__label.is-active {
    display: block;
  }
  .el-switch .el-switch__core,
  .el-switch .el-switch__label {
    width: 60px !important;
  }
}
/* 颜色选择器 */
.el-color-picker__icon {
  color: var(--main);
}
.el-color-picker__color {
  border-color: var(--border);
}
.el-color-picker__trigger {
  border-color: var(--border);
}
.el-color-picker__panel {
  border-color: var(--border);
  background-color: var(--backgroundv2);
  box-shadow: 0 0 10px 4px var(--backgroundv2);
}
.el-color-picker__panel {
  .el-button {
    color: var(--main);
  }
  .el-button.is-plain {
    color: #fff;
    background: linear-gradient(180deg, #154d5b 0%, #123742 53%, #1c818a 100%);
    border: 1px solid rgba(45, 242, 255, 0.6);
    &:focus {
      color: #fff;
      background: linear-gradient(
        180deg,
        #1c818a 0%,
        #123742 53%,
        #1c818a 100%
      );
      box-shadow: 0px 0px 6px 0px #2df2ff;
      border: 1px solid rgba(45, 242, 255, 0.6);
    }
    &:hover {
      color: #fff;
      background: linear-gradient(
        180deg,
        #1c818a 0%,
        #123742 53%,
        #1c818a 100%
      );
      box-shadow: 0px 0px 6px 0px #2df2ff;
      border: 1px solid rgba(45, 242, 255, 0.6);
    }
  }
}

/* 下拉框 */
.el-select-group__wrap:not(:last-of-type)::after {
  background: var(--border);
}
.el-select-group__wrap:not(:last-of-type) {
  padding-bottom: 10px;
}
.el-select-group__title {
  line-height: 26px;
  color: var(--auxiliary);
}
.el-select-dropdown__wrap {
  max-height: 400px;
}
/* 自定义抽屉 */
.drawer-class {
  height: 92% !important;
  top: 5% !important;
  border: 4px solid var(--theme) !important;
  border-right: none !important;
  border-radius: 12px 0 0 12px;
  .buttonBox {
    min-width: 100px;
  }
  .el-drawer__body {
    color: var(--main);
    display: flex;
    flex-direction: column;
    .drawer_header {
      height: 66px;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      font-weight: bolder;
      font-size: 16px;
      padding: 0px 20px;
      justify-content: space-between;
    }
    .drawer_body {
      display: flex;
      flex-direction: column;
      height: 0;
      flex-grow: 1;
      padding: 0px 20px 20px;
      box-sizing: border-box;
      .drawer_body_content {
        height: 0;
        flex-grow: 1;
        overflow-y: scroll;
        overflow-x: hidden;
      }
    }
  }
}

// 穿透抽屉遮罩
/deep/.deep-drawer-modal {
  /deep/.el-drawer__open {
    width: 0 !important;
    position: absolute !important;
  }
  /deep/.el-drawer {
    position: fixed !important;
  }
}

// 计数器
.el-input-number {
  border-color: var(--auxiliary) !important;
  .el-input-number__decrease,
  .el-input-number__increase {
    background: transparent;
    border-color: var(--auxiliary) !important;
    .el-icon-arrow-up,
    .el-icon-arrow-down {
      color: var(--auxiliary) !important;
    }
  }
}

.el-upload-dragger {
  background-color: transparent;
  border-color: var(--border);
}
.el-tooltip__popper[x-placement^='left'] .popper__arrow,
.el-tooltip__popper[x-placement^='left'] .popper__arrow::after {
  border-left-color: var(--border);
  border-radius: 2px;
}
.el-dropdown-menu__item.is-disabled {
  color: var(--info-05);
}

.warehouse {
  flex: 1;
  display: flex;
  flex-direction: column;

  .title {
    height: 15px;
    color: var(--fontSize-main-color);
    font-size: 16px;
    font-family: YouSheBiaoTiHei;
    font-weight: bold;
    line-height: 0;
    margin-bottom: 6px;
  }
  .content {
    flex: 1;
    max-height: 240px;
    background: var(--backgroundv2);
    overflow-y: auto;
    border-radius: 4px;

    .item {
      background: url('@/assets/svg/system/numWarehouse/bgItem.svg') no-repeat;
      background-size: cover;
      border: 1px dashed var(--auxiliary);
      box-shadow: inset 0 0 6px 0 #0da7c1;

      .label {
        height: 30px;
        text-align: center;
        line-height: 30px;
        background: url('@/assets/svg/system/numWarehouse/bg-item-title.svg') no-repeat;
        background-size: cover;
        font-weight: bold;
        font-size: 16px;
        font-family: YouSheBiaoTiHei;
        color: #FFFFFF;
        display: flex;
        justify-content: center;
        align-items: center;

        span {
          outline: none;
        }

      }

      .main {
        height: calc(100% - 30px);
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;

        .text {
          min-width: 25px;
          max-width: 75px;
          overflow-x: auto;
          white-space: nowrap;
          color: white;
          outline: none;
        }
        .text::-webkit-scrollbar {
          height: 0;
        }
      }
    }
  }
  .content::-webkit-scrollbar {
    width: 0;
  }
  .footer {
    height: 40px;
    background: #305272;
    box-shadow: 0px -2px 3px 0px rgba(0,6,19,0.2);
    border-radius: 0 0 4px 4px;
    padding: 0 16px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }
}
